package com.pojo;

import java.util.Date;

/**
 * PrlDtl entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class PrlDtl implements java.io.Serializable {

	// Fields

	/*private long unitId;
	private String prlType;
	private Long prodClsId;*/
	private PrlDtlId id;
	private Double unitPrice;
	private Double discRate;
	private Date expDate;

	// Constructors


	public PrlDtl(PrlDtlId id, Double unitPrice, Double discRate, Date expDate) {
		super();
		this.id = id;
		this.unitPrice = unitPrice;
		this.discRate = discRate;
		this.expDate = expDate;
	}

	public PrlDtl(PrlDtlId id, Double unitPrice, Double discRate) {
		super();
		this.id = id;
		this.unitPrice = unitPrice;
		this.discRate = discRate;
	}

	/** default constructor */
	public PrlDtl() {
	}

	

	public PrlDtlId getId() {
		return id;
	}

	public void setId(PrlDtlId id) {
		this.id = id;
	}

	public Double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Double getDiscRate() {
		return discRate;
	}

	public void setDiscRate(Double discRate) {
		this.discRate = discRate;
	}

	public Date getExpDate() {
		return expDate;
	}

	public void setExpDate(Date expDate) {
		this.expDate = expDate;
	}

	
}